package com.hs.jhzd.repository;

import com.hs.jhzd.entity.JhXlzxstEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface XlzxstRepository extends JpaRepository<JhXlzxstEntity, String> {

    @Query("select y from JhXlzxstEntity y where y.lx = ?1")
    public List<JhXlzxstEntity> findByLx(String lx);


}
